//
//  FERefreshView.swift
//  JokeClient
//
//  Created by hryan on 15/5/21.
//  Copyright (c) 2015年 hryan. All rights reserved.
//

import UIKit

protocol FERefreshViewDelegate
{
    func refreshView(refreshView:FERefreshView,didClickButton btn:UIButton)
}

class FERefreshView: UIView {

    @IBOutlet var button : UIButton!
    @IBOutlet var indicator : UIActivityIndicatorView!
    @IBAction func buttonClicked(sender :UIButton)
    {
        self.delegate.refreshView(self, didClickButton: sender)
    }
    
    var delegate :FERefreshViewDelegate!
    
    
    func startLoading()
    {
        
    }
    
}
